<script type="text/javascript" src='{$base_dir}modules/dept_rad/js/AJAX_RadResult.js'></script>
<script type="text/javascript">
    {literal}   
    $(document).ready(function () {
        $('#radTicketListLbx').change(function() {
            loadRadResultInput(true);
        }); 
    	loadRadResultInput(false);
    });
    {/literal}
</script>


<!-- Patient info bar -->
<div class='patientInfo' align="center">
    <span>
        {translate}Patient{/translate}: <span class='greenInfo' id="patientName">{$patientName}</span>
        &nbsp;   
        {translate}ID{/translate}: <span class='greenInfo'>{$patientCode}</span>
        &nbsp;
        <span class='greenInfo' id="patientDob">{translate p1=$patientDob p2=$patientAge}%s (Age %s){/translate}</span>
        &nbsp;
    </span>
</div>

<!-- Radiology ticket list and metadata -->
<table style="width: 100%;" cellpadding="0" cellspacing="0">
    <tr>
		<td valign="top" style="width: 200px;">
		    <select style="width: 100%;" id="radTicketListLbx" name="radTicketListLbx">
		       {html_options options=$radTicketList selected=$radTicketId}
		    </select>
		    <div id="itemListDiv" style="margin-top: 5px;">
		    
		    </div>
		</td>
		<td align="center" valign="top">
            <div id="metaDiv" style="margin-left: 10px;">
            
            </div>
		</td>                         
    </tr>
</table>

<!-- Image and conclusion div  -->        
<div id="conlusionDiv" style="margin-top: 10px;">

</div>